package com.lxp.modules.gyy.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Attachment
 * @TableName ir_attachment
 */
@TableName(value ="ir_attachment")
@Data
public class IrAttachment implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer id;

    /**
     * Name
     */
    private String name;

    /**
     * Description
     */
    private String description;

    /**
     * Resource Model
     */
    private String resModel;

    /**
     * Resource Field
     */
    private String resField;

    /**
     * Resource ID
     */
    private Integer resId;

    /**
     * Company
     */
    private Integer companyId;

    /**
     * Type
     */
    private String type;

    /**
     * Url
     */
    private String url;

    /**
     * Access Token
     */
    private String accessToken;

    /**
     * Database Data
     */
    private Object dbDatas;

    /**
     * Stored Filename
     */
    private String storeFname;

    /**
     * File Size
     */
    private Integer fileSize;

    /**
     * Checksum/SHA1
     */
    private String checksum;

    /**
     * Mime Type
     */
    private String mimetype;

    /**
     * Indexed Content
     */
    private String indexContent;

    /**
     * Created by
     */
    private Integer createUid;

    /**
     * Created on
     */
    private Date createDate;

    /**
     * Last Updated by
     */
    private Integer writeUid;

    /**
     * Last Updated on
     */
    private Date writeDate;

    /**
     * Original (unoptimized, unresized) attachment
     */
    private Integer originalId;

    /**
     * Website
     */
    private Integer websiteId;

    /**
     * Key
     */
    private String key;

    /**
     * Theme Template
     */
    private Integer themeTemplateId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}